package com.chy.edu.mapper;

import com.chy.edu.pojo.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chy.edu.pojo.frontvo.CourseWebVo;
import com.chy.edu.pojo.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author chy
 * @since 2020-10-27
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    CoursePublishVo getPublishCourseInfo(String id);

    // 根据课程id，编写sql语句查询课程信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
